package com.sckj.springbootdome.sevice;

import com.sckj.springbootdome.dao.LoginMapper;
import com.sckj.springbootdome.entity.LoginUser;
import com.sckj.springbootdome.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImp implements LoginService{
    @Autowired
    private LoginMapper loginMapper;
    @Override
    public LoginUser login(String username, String password) {
        return loginMapper.login(username, password);
    }
}
